package com.wzt.org.query;

import lombok.Data;

/**
 * @author Zenith
 */
@Data
public class Query {
    private Integer pageSize = 10;
    private Integer currentPage = 1;
    private String keyword;
    public Integer getStart(){
        return (currentPage - 1 ) * pageSize;
    }
}
